You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clValue Structure > clValue Methods > clValue.Ceil Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clValue.Ceil Method

Rounds towards positive infinity.

Syntax
C#
Visual Basic
public TOpenCLValue Ceil([In] TOpenCLValue Src);

Rounds towards positive infinity in-place. 

Ceil(-2.8) = -2 

Ceil(2.8) = 3 

Ceil(-1.0) = -1 

 

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!